package com.hz.service;

import com.hz.pojo.WashHouse;
import com.hz.pojo.WashMachine;

import java.util.List;

public interface WashHouseService {
    /**
     * 根据洗衣房id 获取当前洗衣房洗衣机信息
     * @param washhouse_id  洗衣房id
     * @return
     * @throws Exception
     */
    public abstract List<WashMachine> getWashMachineInfo(Long washhouse_id) throws Exception;

    /**
     * 获取全部洗衣房信息
     * @return
     * @throws Exception
     */
    public abstract List<WashHouse> getWashHouseAllInfo() throws Exception;

    /**
     * 添加洗衣房
     * @param washHouse     洗衣房信息
     * @return
     * @throws Exception
     */
    public abstract int addWashHouse(WashHouse washHouse)throws Exception;

}
